package com.competition.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.competition.front.entity.Module;

import java.util.List;

/**
 * <p>
 * 投稿信息表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-03-30
 */
public interface ModuleService extends IService<Module> {

    List<Module> selectModuleById(String moduleId, Integer page, Integer limit);

    Integer countModuleByRelationId(String moduleId);

    List<Module> selectModuleByUserIdAndRelationId(String userId, String relationId);

    boolean saveModule(Module module);

}
